package com.pay.merchant.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.pay.merchant.mapping.MappingUtils;

@Controller
public class ErrorController {
	
	@RequestMapping(value=MappingUtils.error404)
	public ModelAndView error404() {
		ModelAndView m = new ModelAndView(MappingUtils.error404);
		return m ;
	}
	
	@RequestMapping(value=MappingUtils.error500)
	public ModelAndView error500() {
		ModelAndView m = new ModelAndView(MappingUtils.error500);
		return m ;
	}
	
	@RequestMapping(value=MappingUtils.error403)
	public ModelAndView error403() {
		ModelAndView m = new ModelAndView(MappingUtils.error403);
		
		return m ;
	}
}
